package com.server.model.all.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.server.model.all.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.NoArgsConstructor;

import lombok.Getter;
import lombok.Setter;

@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("user_operation_log")
@Getter
@Setter
public class UserOperationLogEntity extends BaseEntity {
    /**
     *
     * @author LXC
     * @date 2022/6/17 21:32
     */
    @TableId(type = IdType.AUTO)
    private Long userOperationLogId;

    /**
     * 用户ID
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private Long userId;

    /**
     * 方法名
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private String method;

    /**
     * 接口路径
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private String interfacePath;

    /**
     * 参数
     * @author LXC
     * @date 2022/6/6 22:11
     */
    private String parameter;

    /**
     * IP
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private String remoteIp;

    /**
     * 参数类型(application/json)
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private String paramType;

    /**
     *  请求头
     * @author LXC
     * @date 2022/6/6 22:12
     */
    private String userAgent;

}
